package exercise_2;

public class Main {
	public static void main(String[] args) {
		MyRunnable myRunnable = new MyRunnable("main", 5);
		Thread main = new Thread(myRunnable);
		myRunnable = new MyRunnable("new", 10);
		Thread subThread = new Thread(myRunnable);
		main.start();
		subThread.start();
	}
}
